<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});

Route::get('hello/:name', 'index/hello');

Route::rule('user/index/:id','user/user/index');
Route::rule('user/syllabus','user/user/syllabus');


Route::rule('admin/login','admin/index/login');
Route::rule('admin/signup','admin/index/register');
Route::rule('admin/forget','admin/index/forget');
Route::rule('admin/reset','admin/index/reset');
Route::rule('admin/index','admin/home/index');
Route::rule('admin/passwordmodify','admin/home/password');
Route::rule('admin/loginout','admin/home/loginout');
Route::rule('admin/log','admin/home/log');
return [
];
